import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:ichinesereader/widgets/layouts/customAppBar.dart';

class ShowErrorPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: CustomAppBar(title: 'Error'.tr),
        body: Padding(
          padding: const EdgeInsets.all(16.0),
          child: Text(
            'Oops, something wrong happens, please try later .... '.tr,
            style: TextStyle(
              fontFamily: 'Montserrat',
              color: Get.isDarkMode
                  ? Get.theme.primaryColorDark.withOpacity(0.8)
                  : Get.theme.primaryColorDark,
            ),
          ),
        ));
  }
}
